package com.heliming.data.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.heliming.data.entity.User;
import com.heliming.data.mapper.ReadMapper;
import com.heliming.data.service.ReadService;
import com.heliming.data.utils.BaseServiceImpl;

@Service
@Transactional(rollbackFor=Exception.class)
public class ReadServiceInpl extends BaseServiceImpl implements ReadService {
	
	@Autowired
	private ReadMapper readMapper;		

	@Override
	public User findById(String id) {
		return readMapper.findById(id);
	}

}
